#include "Mesh.h"

#include "Edge.h"
#include "Face.h"
#include "Types.h"
#include "UniqueID.h"
#include "Vertex.h"
#include <list>
#include <memory>
auto meshNextID = geo::UniqueIDGenerator<Mesh>::getNextID;
Mesh::Mesh() {
    _id = meshNextID();
    _vertices.clear();
    _faces.clear();
    _edges.clear();
}
Mesh::~Mesh() {

    for (auto v : _vertices) {
        delete v;
    }
    for (auto e : _edges) {
        delete e;
    }
    for (auto f : _faces) {
        delete f;
    }

    _vertices.clear();
    _faces.clear();
    _edges.clear();
}

void Mesh::addVertex(Vertex* vertex) {}

void Mesh::addEdge(Edge* edge) {}

void Mesh::addFace(Face* face) {}